package com.hy.pojeVo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

@Data
public class AppVaccinationOrder {
    public static final String ZHIFU_YES = "已支付";
    public static final String ZHIFU_NO = "未支付";
    /**
     * 预约编号
     */
    @TableField(value = "appointment_no")
    private String appointmentNo;

    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 疫苗ID
     */
    @TableField(value = "vaccine_id")
    private Long vaccineId;


    /**
     * 预约日期
     */
    @TableField(value = "appointment_date")
//    @JsonFormat(pattern = "yyyy-MM-dd")
    private String appointmentDate;

    /**
     * 预约时间
     */
    @TableField(value = "appointment_time")
//    @JsonFormat(pattern = "HH:mm:ss")
    private String appointmentTime;
    /**
     * 预约状态：0-待确认 1-已确认 2-已完成 3-已取消 4-已过期
     */
    @TableField(value = "status")
    private Integer status;

}
